package com.ruoyi.room.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 奖池商品对象 t_room_good
 *
 * @author ruoyi
 * @date 2025-08-14
 */
public class RoomGood extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 房间
     */
    @Excel(name = "房间")
    private Long roomId;

    /**
     * 房间名称
     */
    @Excel(name = "房间名称")
    private String roomName;

    /**
     * 商品
     */
    @Excel(name = "商品")
    private Long goodId;

    /**
     * 商品等级
     */
    @Excel(name = "商品等级")
    private Long goodLevelId;

    /**
     * 商品等级名称
     */
    @Excel(name = "商品等级名称")
    private String goodLevelName;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    private String img;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String name;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long num;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Long state;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setGoodId(Long goodId) {
        this.goodId = goodId;
    }

    public Long getGoodId() {
        return goodId;
    }

    public void setGoodLevelId(Long goodLevelId) {
        this.goodLevelId = goodLevelId;
    }

    public Long getGoodLevelId() {
        return goodLevelId;
    }

    public void setGoodLevelName(String goodLevelName) {
        this.goodLevelName = goodLevelName;
    }

    public String getGoodLevelName() {
        return goodLevelName;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg() {
        return img;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public Long getNum() {
        return num;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Long getState() {
        return state;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("roomId", getRoomId())
                .append("goodId", getGoodId())
                .append("goodLevelId", getGoodLevelId())
                .append("goodLevelName", getGoodLevelName())
                .append("img", getImg())
                .append("name", getName())
                .append("num", getNum())
                .append("state", getState())
                .append("createTime", getCreateTime())
                .toString();
    }
}
